<template>
  <!-- 新片速递 -->
  <div class="new-movie-box">
    <!-- 标题 -->
    <div class="be-coming-soon-title">
      <div>新片速递</div>
      <div @click="handlUocoming">产看更多</div>
    </div>
    <!-- 模块 -->
    <div class="be-coming-soon-slide">
      <movie-chunk></movie-chunk>
      <movie-chunk></movie-chunk>
      <movie-chunk></movie-chunk>
    </div>
  </div>
</template>

<script>
import movieChunk from '@/components/video-box/movie-chunk'
import { useRouter } from 'vue-router'
export default {
  name: 'FissionFriendsH5Upcoming',
  components: {
    movieChunk
  },
  setup() {
    const router = useRouter()
    const handlUocoming = () => {
      router.push({ name: 'upcoming', params: { title: 'new' } })
    }
    return {
      handlUocoming
    }
  }
}
</script>

<style lang="scss" scoped>
.new-movie-box {
  background-color: navajowhite;
  padding: 10px;
  margin-top: 10px;
  overflow: hidden;
  .be-coming-soon-title {
    display: flex;
    justify-content: space-between;
    height: 20px;
    line-height: 20px;
    background-color: skyblue;
  }
  .be-coming-soon-slide {
    display: flex;
  }
}
</style>
